package com.wms.wms.controller.product;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Chl
 * @version 1.0
 * @date 2019/12/18 13:07
 */
@RequestMapping("/product")
@Controller
public class MappingController {

    @GetMapping("/searchType")
    public String searchType(){
        return "product/searchType";
    }

    @GetMapping("/index")
    public String index(){
        return "product/index";
    }

    @GetMapping("/listType")
    public String listType(){
        return "product/listType";
    }

    @GetMapping("/searchProduct")
    public String searchProduct(){
        return "product/searchProduct";
    }

    @GetMapping("/error")
    public String error(){
        return "product/error";
    }
}
